WPForms\Forms\Fields\PaymentTotal\Field A

Total Complexity 68
Dependencies 1
Dependents 0
Total lines 781
Lines of code 363
Logical lines of code 156
Comment lines 284
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
prepare_payment_field_choices()
A
50 8 25
field_display()
S
48 5 34
get_classic_dropdown_default_choice_key()
S
60 6 12
prepare_payment_fields_data()
S
51 5 25
order_summary_confirmation()
S
56 5 19
calculate_total_static()
S
58 5 15
summary_option()
S
49 3 37
field_properties()
S
57 4 15
prepare_payment_field_single()
S
56 3 18
validate()
S
69 4 5
prepare_builder_preview_data()
S
48 1 35
preview_field_class()
S
66 3 9
get_payment_field_min_quantity()
S
69 3 6
format()
S
60 2 12
field_options()
S
53 1 26
summary_option_notice()
S
63 2 11
field_preview()
S
58 1 15
add_confirmation_setting()
S
60 1 15
is_fallback_population_allowed()
S
82 1 3
is_summary_enabled()
S
79 1 3
is_dynamic_population_allowed()
S
82 1 3
hooks()
S
65 1 8
calculate_total()
S
78 1 3
init()
S
65 1 9